package com.shawn.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.UUID;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "visitors")
public class Visitors implements Serializable {
    private static final long serialVersionUID = 4508868382007529971L;

    private ObjectId objectId; //表id
    private Long date;//来访时间
    private Long userId;//用户id
    private Long visitorUserId;//来访者id
    private Double score;//缘分值
    private String from;//来源
    private String visitDate;//来访日期
}
